package com.april.aprilmall.gateway.controller;

import com.april.common.utils.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Package : com.april.aprilmallgateway.controller
 * @Author : xz
 * @Date : 2023-07-18 23:20
 * @Desc :
 */
@RestController
public class HelloContraoller {

    @RequestMapping("/hello")
    public Result hello(){
        String hello = "hello";
        return Result.ok().put("hello",hello);
    }
}
